﻿using System;
using System.Collections.Generic;

namespace masterview.Code.models
{
    public class CmsDocsServiceExtendedModel : CmsDocsServiceSimpleModel
    {
        public CmsDocsServiceExtendedModel(long id, string name, Dictionary<string, string> serviceParameters, List<CmsDocsServiceExtendedInstanceModel> instancesList)
            : base(id, name, serviceParameters)
        {
            Instances = instancesList;
        }

        public CmsDocsServiceExtendedModel()
        {
            Instances = new List<CmsDocsServiceExtendedInstanceModel>();
        }

        public String Database { get; set; }

        public List<CmsDocsServiceExtendedInstanceModel> Instances { get; set; }
    }
}